package com.zywl.utils.utils;

/**
 * 项目常量类
 *
 * @author yangfan
 */
public class Constants {
    public static final String USER_SESSION_KEY = "user_key"; // 当前登录用户的session
    public static final String ROLE_SESSION_KEY = "role_key"; // 当前登录用户所属角色的session
    public static final String DICTIONARY_SESSION_KEY = "dict_key"; // 字典的session
    public static final String ENUM_SESSION_KEY = "enum_key"; // 角色级别的session
    public static final String COMPARTMENT_SESSION_KEY = "compartments_key"; // 行政区划的session
    public static final String XIEHUI_SESSION_KEY = "xiehui_key"; // 行政区划的session

    public static final String RES_SESSION_KEY_MENU = "res_key_menu"; // 当前登录用户的菜单权限session
    public static final String RES_SESSION_KEY_BUT = "res_key_but"; // 当前登录用户的按钮权限session

    public static final String DEFAULT_PASSWORD = "123456";// 系统默认密码

    public static final String STRING_NULL = "";
    public static final String STRING_BLANK = " ";
    public static final String STRING_SINGLE_QUOTES = "'";
    public static final String STRING_POINT = ".";
    public static final String STRING_SPLIT = ",";
    public static final String STRING_SEMICOLON = ";";
    public static final String STRING_MIDLINE = "-";
    public static final String STRING_UNDERLINE = "_";
    public static final String STRING_SPRIT = "/";
    public static final String STRING_COLON = ":";
    public static final String STRING_COLON_SPRIT = "://";

    public static final String ROOT = "xhgl";// tomcat服务器ROOT文件夹

    public static final String RESOURCE_ROOT_PARENT = "0"; // 权限菜单顶级节点id
    public static final String RESOURCE_ROOT_PARENT_NAME = "菜单/按钮权限配置";// 权限菜单顶级节点名
    public static final String SYS_PREFIX = "cmf_";//前缀

    public static final String DEFAULT_FORMAT = "yyyyMMddHHmmssSSS";//前缀

    public final static String DOMAIN="http://ysconsultation.cn";

    public static final String QRCODE_PATH = "D:/QRCode/";//二维码图片保存路径
    public static final String PHOTO_PATH = "D:/Photo/";//操作记录图片和头像保存路径
    public static final String SERVER_ADDRESS = "http://121.40.220.135:8085/";//服务器地址

    // 微信支付统一接口(POST)
    public final static String UNIFIED_ORDER_URL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
    public final static String WX_PAY_V3 ="/v3/certificates";
    public final static String NOTIFY_URL ="https://ysconsultation.cn/api/pay/feedback";

    // 微信小程序
    public static final String APP_ID="wx41a1a2b6ec1d32e1";//小程序ID
    public static final String APP_SECRET="749035e0948f6bc821442120bf1982cf";//小程序密钥

    // 微信商户号
    public final static String WX_MCH_ID = "1606182703";
    public final static String WX_SERIAL_ID = "7CD950B1398ABD865122D124D78B5BAC68CD89D7";

    // 讯飞语音转写文字配置
    public static final String XF_HOST = "https://raasr.xfyun.cn";
    public static final String XF_APPID = "dbb6a6d0";
    public static final String XF_KEYSECRET = "bf56d80946d83c358058e1520e4c7749";

}
